<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>门店兑换</title>  
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/index.css" />
</head>
<body>
<div class="group" style="padding-top:120px;">
    <form action="__MODULE__/List/search/" method="get" enctype="multipart/form-data">
    <div id="header">
    	<div class="logo"></div>
        <div class="search"><input name="keyword" type="text" placeholder="搜索特产"/><i></i></div>
    </div>
    </form>
    <div class="address" style="padding-bottom: 15px;">
    	<div class="inner" style="padding-bottom: 5px;">
            <h3><span>店铺：{$shopinfo.storename}</span><span>电话：{$shopinfo.mobile}</span></h3>
            <p>取货地址：{$shopinfo.address}</p>
        </div>
    </div>
    <div class="swipePanel">
        <div class="swipe">
            <ul id="slider">
                <li><a href="http://www.xiangtws.com/Wx/Prodetail/Index/id/494/"><img src="__PUBLIC__/Wx/images/banner9.jpg" alt='' /></a></li>
                <li><a href="http://www.xiangtws.com/index.php/Wx/Prodetail/index/id/418/"><img src="__PUBLIC__/Wx/images/banner5.jpg" alt='' /></a></li>
                <li><a href="/Wx/Prodetail/index/id/553/"><img src="__PUBLIC__/Wx/images/banner-ht.jpg" alt='' /></a></li>
                <li><a href="http://www.xiangtws.com/index.php/Wx/Prodetail/index/id/539"><img src="__PUBLIC__/Wx/images/banner10.jpg" alt='' /></a></li>
            </ul>
            <div id="pagenavi">
                <a href="javascript:void(0);" class="active">1</a> 
                <a href="javascript:void(0);">2</a>
                <a href="javascript:void(0);">3</a>
                <a href="javascript:void(0);">4</a>
            </div>
        </div>
    </div>
    <div class="news">
    	<span style="background:url(__PUBLIC__/Wx/img/headline02.png) no-repeat center center; background-size:auto 44px;">社区头条</span>
		<div id="marquee">
			<ul style="height: 1200px;">
				<li><a href="#"><p><i class="new">达人食谱</i>告诉你夏天必吃的十种菜，又好吃又营养</b></p></a></li>
				<li><a href="#"><p><i class="hot">拼团达人</i>恭喜，张三成功抢到<b>苏泊尔4L电饭煲</b></p></a></li>
				<li><a href="#"><p><i class="new">达人食谱</i>告诉你夏天必吃的十种菜，又好吃又营养</b></p></a></li>
				<li><a href="#"><p><i class="hot">拼团达人</i>恭喜，张三成功抢到<b>苏泊尔4L电饭煲</b></p></a></li>
			</ul>
		</div>
    </div>
    <div class="exchange-sq">
    	<div class="tit03"><span>社区店铺兑换</span><a href="__MODULE__/Vip/membership/s_id/{$shopinfo.id}/"><b>会员特权</b></a></div>
    	<div class="tab"><span class="on">积分</span><span>积分+现金</span><span>现金</span></div>
        <div id="tab-content">
        	<div class="block">
           		<ul>
                <volist name="goods_integral" id="vo">
                	<li>
                    	<a href="__MODULE__/Exchange/index/gid/{$vo.id}/">
                        	<div class="pic"><img src="{$vo.f_img}"/><!--<b><img src="__PUBLIC__/Wx/img/spec.png"/></b>--></div>
                            <div class="proname">
                            	<h2><eq name="vo.u_id" value="0"><b class="pp">品牌</b><else/><b class="md">门店</b></eq>{$vo.title}   {$vo.u_num}{$vo.unit}</h2>
                                <h3>
                                <if condition="$vo['level_cash_1'] gt 0 ">{$vo['level_cash_1']}元</if><if condition="$vo['level_cash_1'] gt 0 and $vo['level_integral_1'] gt 0 ">+</if><if condition="$vo['level_integral_1'] gt 0">{$vo['level_integral_1']}积分</if>
                                </h3>
                                <p>市场参考价：{$vo.price}元</p>
                            </div>
                        </a>
                    </li>
                 </volist>   

                    <!--<div class="more">查看更多>></div>-->
                </ul>   	
            </div>
        	<div class="block" style="display:none;">
           		<ul>
                <volist name="goods_int_ca" id="vo">
                	<li>
                    	<a href="__MODULE__/Exchange/index/gid/{$vo.id}/">
                        	<div class="pic"><img src="{$vo.f_img}"/><!--<b><img src="__PUBLIC__/Wx/img/spec.png"/></b>--></div>
                            <div class="proname">
                            	<h2><eq name="vo.u_id" value="0"><b class="pp">品牌</b><else/><b class="md">门店</b></eq>{$vo.title}   {$vo.u_num}{$vo.unit}</h2>
                                <h3>
                                <if condition="$vo['level_cash_1'] gt 0 ">{$vo['level_cash_1']}元</if><if condition="$vo['level_cash_1'] gt 0 and $vo['level_integral_1'] gt 0 ">+</if><if condition="$vo['level_integral_1'] gt 0">{$vo['level_integral_1']}积分</if>
                                </h3>
                                <p>市场参考价：{$vo.price}元</p>
                            </div>
                        </a>
                    </li>
                 </volist>   
                    <!--<div class="more">查看更多>></div>-->
                </ul>   	
            </div>
        	<div class="block" style="display:none;">
           		<ul>
                <volist name="goods_cash" id="vo">
                	<li>
                    	<a href="__MODULE__/Exchange/index/gid/{$vo.id}/">
                        	<div class="pic"><img src="{$vo.f_img}"/><!--<b><img src="__PUBLIC__/Wx/img/spec.png"/></b>--></div>
                            <div class="proname">
                            	<h2><eq name="vo.u_id" value="0"><b class="pp">品牌</b><else/><b class="md">门店</b></eq>{$vo.title}   {$vo.u_num}{$vo.unit}</h2>
                                <h3>
                                <if condition="$vo['level_cash_1'] gt 0 ">{$vo['level_cash_1']}元</if><if condition="$vo['level_cash_1'] gt 0 and $vo['level_integral_1'] gt 0 ">+</if><if condition="$vo['level_integral_1'] gt 0">{$vo['level_integral_1']}积分</if>
                                </h3>
                                <p>市场参考价：{$vo.price}元</p>
                            </div>
                        </a>
                    </li>
                 </volist>   
                    <!--<div class="more">查看更多>></div>-->
                </ul>   	
            </div>
        </div>
    </div>
    <!--<div class="grouping">-->
    	<!--<div class="tit04"><span>社区拼团（<b>{$shopinfo.storename}味士团</b>）</span></div>-->
        <!--<div class="listpt">-->
        	<!--<ul>-->
                <!--<volist name="needgoodarr" id="vo">-->
            	<!--<li>-->
                	<!--<a href="__MODULE__/Prodetail/index/id/{$vo.id}/c_id/{$vo.copy_id}">-->
                    	<!--<div class="pic"><img src="{$vo.f_img}"/></div>-->
                        <!--<div class="proname">-->
                        	<!--<h2>-->
                            <!--<eq name="vo.type" value="0"><b class="xc">乡村</b><else/>-->
                                            <!--<b class="md">门店</b>-->
                                        <!--</eq>-->
                                        <!--{$vo.title} {$vo.u_num}{$vo.unit}</h2>-->
                            <!--<h3><b><img src="{$vo.f_avatar}"/></b><i>{$vo.f_realname}</i><em>{$vo.village}</em></h3>-->
                            <!--<p><b>￥{$vo.actual_price}</b><span>已售{$vo['actual_num']+$vo['v_num']}份</span></p>-->
                        <!--</div>-->
                    <!--</a>-->
                <!--</li>-->
                 <!--</volist>-->
                <!--<volist name="group1" id="vo">-->
                    <!--<li>-->
                        <!--<a href="__MODULE__/Prodetail/index/id/{$vo.id}/">-->
                            <!--<div class="pic"><img src="{$vo.f_img}"/></div>-->
                            <!--<div class="proname">-->
                                <!--<h2>-->
                                    <!--<b class="md">门店</b>-->
                                    <!--{$vo.title} {$vo.u_num}{$vo.unit}</h2>-->
                                <!--<h3><b><img src="{$vo.f_avatar}"/></b><i>{$vo.f_realname}</i></h3>-->
                                <!--<p><b>￥{$vo.actual_price}</b><span>已售0份</span></p>-->
                            <!--</div>-->
                        <!--</a>-->
                    <!--</li>-->
                <!--</volist>-->

                <!--&lt;!&ndash;<div class="more">查看更多>></div>&ndash;&gt;-->
            <!--</ul>-->
        <!--</div>-->
    <!--</div>-->
</div>
<script type="text/javascript" src="__PUBLIC__/Wx/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="__PUBLIC__/Wx/js/kxbdSuperMarquee.js"></script>
<script type="text/javascript">
		$(function(){
			$('#marquee').kxbdSuperMarquee({
				isEqual:false,
				distance:20,
				time:2,
				//btnGo:{up:'#goU',down:'#goD'},
				direction:'up'
			});
		});

	</script>
<script type="text/javascript" src="__PUBLIC__/Wx/js/touchScroll.js"></script>
<script type="text/javascript" src="__PUBLIC__/Wx/js/touchslider.js"></script>
<script type="text/javascript">
		var active = 0, as = document.getElementById('pagenavi').getElementsByTagName('a');
		for ( var i = 0; i < as.length; i++) {
			(function() {
				var j = i;
				as[i].onclick = function() {
					t.slide(j);
					return false;
				};
			})();
		}
		var t = new TouchSlider({
			id : 'slider',
			speed : 600,
			timeout : 2000,
			before : function(index) {
				as[active].className = '';
				active = index;
				as[active].className = 'active';
			}
		});
	</script>
	<script type="text/javascript">
		$('.tab span').click(function(){ 
			$(this).addClass("on").siblings().removeClass() 
			$("#tab-content >.block").hide().eq($('.tab span').index(this)).show(); 
		});
    </script>
</body>
</html>